Release 10.1A: OpenEdge Development:
Java Open Clients
Relationship between the RunTimeProperties class and Connection objects
The values set in a
Connectionobject supersede the staticRunTimePropertiesclass values. This relationship is particularly important if a staticRunTimePropertiesproperty is updated after aConnectionobject has been instantiated. In this situation, the effect on aConnectionobject instance depends on whether that specific property was overridden in that object after it was instantiated, as described in Table 7–7.
Note: The converse of this relationship is not true. That is, changing the value of a property for a
Connectionobject does not affect the static value of that property, nor does it affect the value of that property in any other object instance.The following example uses the
waitifBusyproperty to illustrate the relationship between RunTimeProperties andConnectionobject properties:
When executed, this program prints the following result:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |